package com.luisliuyi.demo.webrtc.ws;

import org.webrtc.IceCandidate;

public interface IWebSocket {
    void connect(String wss);

    void close();

    // 加入房间
    void joinRoom(String room);

    //处理回调消息
    void handleMessage(String message);

    void sendOffer(String socketId, String sdp);

    void sendAnswer(String socketId, String sdp);

    void sendIceCandidate(String socketId, IceCandidate iceCandidate);
}
